package src.com.doit.demo01;

import java.util.HashSet;

public class test {
    public static void main(String[] args) {
        HashSet<Person>has = new HashSet<>();
        has.add(new Person("柳岩",38));
        has.add(new Person("金莲",18));
        has.add(new Person("柳岩",38));

        System.out.println(has);
    }
}
